package com.ruoyi.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.business.domain.Beds;
import com.ruoyi.business.domain.vo.BedsVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IBedsPlusService extends IService<Beds> {
    void  trueDelete(Long id);

    /**
     * 根据dormitoryid获取所有床位，包含所在床位的人员信息
     * * * */
    List<BedsVo> getbedListBydormitoryid(@Param("dormitoryid") Long dormitoryid);
    /**
     * 根据bedid  获取床位详细信息
     * * * */
    String getbedDetailByid(String id);

    List<Beds> getbedListBydormitory(@Param("dormitoryid") String dormitoryid,@Param("buildingname") String buildingname);
}
